package com.woniuxy.service;

import com.woniuxy.entity.UserAddress;

import java.text.ParseException;
import java.util.List;

public interface AddressService {
    List<UserAddress> queryAddressByUserId() throws ParseException;
    void addAddress(UserAddress userAddress) throws ParseException;
    void updateAddress(UserAddress userAddress) throws ParseException;
    void deleteAddress(Integer id);
    void changeDefaultAddress(Integer id) throws ParseException;
    UserAddress queryAddressById(Integer id);
}
